// 已有用户列表
export const user_list_data = [
  {
    id: 1,
    account: "13800000000",
    niceName: "莫小白",
    avatar: "https://img.qovv.cn/2024/04/06/6610c45a08edb.jpeg"
  },
  {
    id: 2,
    account: "13700000000",
    niceName: "禾小河",
    avatar: "https://img.qovv.cn/2024/04/06/6610c45a08edb.jpeg"
  },
  {
    id: 3,
    account: "13600000000",
    niceName: "菠萝柚",
    avatar: "https://img.qovv.cn/2024/04/06/6610c45a08edb.jpeg"
  },
];

// 数据获取
export function get_user_list_data(params = {}) {
  const data = user_list_data.filter(item => {
    if (params.account) return item.account.includes(params.account);
  });
  return data;
}


